package cn.sfrog.project.biz.web.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 服务订单对象 biz_service_order
 */
@Data
@ApiModel(description = "服务订单返回VO")
public class AppServiceOrderResultVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("订单号")
    private String serviceOrderSn;

    @ApiModelProperty("订单类型【1=用户订单 2=客服代下单】")
    private String type;


    @ApiModelProperty("下单用户id")
    private Long userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("预约时间")
    private Date appointmentDate;


    @ApiModelProperty("预约医院id")
    private Long hospitalId;


    @ApiModelProperty("购买的类型【1=服务 2=套餐】")
    private String buyType;

    @ApiModelProperty("商品id")
    private Long productId;

    @ApiModelProperty("购买数量")
    private Integer num;


    @ApiModelProperty("订单金额【陪护豆】")
    private BigDecimal amount;


    @ApiModelProperty("订单状态【1=待服务 2=待支付 3=待接单 4=服务中 5=已完成 6=已取消】")
    private String orderStatus;

    @ApiModelProperty("服务或套餐名称")
    private String serviceName;

    @ApiModelProperty("服务或套餐图片")
    private String serviceImage;

    @ApiModelProperty("服务或套餐价格")
    private BigDecimal servicePrice;

    @ApiModelProperty("医院名称")
    private String hospitalName;

    @ApiModelProperty("医院图片")
    private String hospitalImage;

    @ApiModelProperty("特殊需求")
    private String specialNeeds;


    @ApiModelProperty("评价状态【0=未评价 1=已评价】")
    private String evaluationStatus;

    @ApiModelProperty("投诉状态【0=未投诉 1=投诉了】")
    private String complaintStatus;


}
